package cn.laike.modules.wechat.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 公众号管理
 * 
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-01-04 14:04:03
 */
@TableName("mp_wechat")
public class WechatEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 商户编号
	 */
	private Long uid;
	/**
	 * 授权方
	 */
	private String nickName;
	/**
	 * 授权方头像
	 */
	private String headImg;
	/**
	 * 授权方公众号的原始ID
	 */
	private String userName;
	/**
	 * 公众号的主体名称
	 */
	private String principalName;
	/**
	 * 授权方公众号类型
	 */
	private String serviceTypeInfo;
	/**
	 * 授权方认证类型
	 */
	private String verifyTypeInfo;
	/**
	 * 授权方appid
	 */
	private String authorizationAppid;
	private String authorizerAccessToken;
	private String authorizerRefreshToken;
	private Integer status;
	
	private String templateId;
	private String userVersion;
	private String userDesc;
	/**
	 * 状态码:   0:待上传     1:待审核   2:审核中   3:审核失败    4:待发布      5:已发布
	 */
	private String errcode;
	private String errmsg;
	/**
	 * 注册时间
	 */
	private Date createTime;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAuthorizerAccessToken() {
		return authorizerAccessToken;
	}
	public void setAuthorizerAccessToken(String authorizerAccessToken) {
		this.authorizerAccessToken = authorizerAccessToken;
	}
	public String getAuthorizerRefreshToken() {
		return authorizerRefreshToken;
	}
	public void setAuthorizerRefreshToken(String authorizerRefreshToken) {
		this.authorizerRefreshToken = authorizerRefreshToken;
	}
	/**
	 * 设置：商户编号
	 */
	public void setUid(Long uid) {
		this.uid = uid;
	}
	/**
	 * 获取：商户编号
	 */
	public Long getUid() {
		return uid;
	}
	/**
	 * 设置：授权方
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/**
	 * 获取：授权方
	 */
	public String getNickName() {
		return nickName;
	}
	/**
	 * 设置：授权方头像
	 */
	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	/**
	 * 获取：授权方头像
	 */
	public String getHeadImg() {
		return headImg;
	}
	/**
	 * 设置：授权方公众号的原始ID
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：授权方公众号的原始ID
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：公众号的主体名称
	 */
	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}
	/**
	 * 获取：公众号的主体名称
	 */
	public String getPrincipalName() {
		return principalName;
	}
	/**
	 * 设置：授权方公众号类型
	 */
	public void setServiceTypeInfo(String serviceTypeInfo) {
		this.serviceTypeInfo = serviceTypeInfo;
	}
	/**
	 * 获取：授权方公众号类型
	 */
	public String getServiceTypeInfo() {
		return serviceTypeInfo;
	}
	/**
	 * 设置：授权方认证类型
	 */
	public void setVerifyTypeInfo(String verifyTypeInfo) {
		this.verifyTypeInfo = verifyTypeInfo;
	}
	/**
	 * 获取：授权方认证类型
	 */
	public String getVerifyTypeInfo() {
		return verifyTypeInfo;
	}
	/**
	 * 设置：授权方appid
	 */
	public void setAuthorizationAppid(String authorizationAppid) {
		this.authorizationAppid = authorizationAppid;
	}
	/**
	 * 获取：授权方appid
	 */
	public String getAuthorizationAppid() {
		return authorizationAppid;
	}
	/**
	 * 设置：注册时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：注册时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	public String getTemplateId() {
		return templateId;
	}
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
	public String getUserVersion() {
		return userVersion;
	}
	public void setUserVersion(String userVersion) {
		this.userVersion = userVersion;
	}
	public String getUserDesc() {
		return userDesc;
	}
	public void setUserDesc(String userDesc) {
		this.userDesc = userDesc;
	}
	public String getErrcode() {
		return errcode;
	}
	public void setErrcode(String errcode) {
		this.errcode = errcode;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	
	
	
	
}
